package com.zm.demo.core;

import org.junit.Test;

import java.util.Base64;

public class Base64T {

    @Test
    public void test() throws Exception{
        String s = "CjZjNmJiY2Y2ZDdkMmQ0Mjc1Yjc3NWMzOTQ2ZjU1OTdlNi4yMjQuMTYwMjQ3NDc0MDIyNTAwNzUSNmM2YmJjZjZkN2QyZDQyNzViNzc1YzM5NDZmNTU5N2U2LjIyNC4xNjAyNDc0NzQwMjI1MDA3NBpyCAEYkpTA19EuIJWUwNfRLjIML3VzZXIvdXNlcnMxOg5sb2NhbGhvc3Q6OTA5MEABSANQAmIoCgN1cmwSIWh0dHA6Ly9sb2NhbGhvc3Q6OTA5MC91c2VyL3VzZXJzMWISCgtodHRwLm1ldGhvZBIDR0VUGmcQ////////////ARiBlMDX0S4glpTA19EuMgsvdXNlci91c2Vyc0gDUA5iJwoDdXJsEiBodHRwOi8vbG9jYWxob3N0OjkwOTAvdXNlci91c2Vyc2ISCgtodHRwLm1ldGhvZBIDR0VUIg1zcHJpbmdtdmMxMDEwKi43NTZjNDY2MTc0MmY0NGYwYTk0ZjdhNDY2ZmI1ZGYwMEAxNzIuMTYuNDIuMTcw";

        byte[]data = Base64.getDecoder().decode(s);
        String dataStr = new String(data, "UTF-8");
//        String s1 = new String(dataStr.getBytes("ISO-8859-1"), "UTF-8");
//        new String(Base64.getEncoder().encode(storageData.getDataBinary()))
//        Base64.getDecoder().decode((String) dbMap.get(DATA_BINARY))
//        Long l = 40000000000000000000L;
        System.out.println((Math.pow(3L,1024L)));
    }
}
